﻿<%@ Page Title="Home" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" 
EnableViewState="false" %>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    
    <% if (ViewData.ContainsKey("ErrorMessage"))
       {
            Response.Write(ViewData["ErrorMessage"]); 
       }
       else
       {
           CoHSIN.Models.PageTab PageTab = (CoHSIN.Models.PageTab)ViewData["PageTab"];
           if (CoHSIN.Globals.isAdmin)
           { 
                   %>
                    <button id="btn_EditContent">Edit Content</button>
                    <br class="clear" />
                   <%                     
           }
           %>
            <div id="leftColumn">
                <% Html.RenderPartial("VerticalNav", PageTab); %>
            </div>
            <div id="rightColumn">
                <!-- round corner -->
                <div class="round topleft"></div><div class="round topright"></div><div class="round bottomleft"></div><div class="round bottomright"></div>
                
                <!-- content partial -->
                <% Html.RenderPartial("Contents", PageTab); %>
                
            </div>
            <%       
        } 
        %>
       
     
     

</asp:Content>
